﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Search.aspx.cs" Inherits="Web.Pages.Search" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="list-product">
<div class="header-listproduct">
<h3>Danh sách tìm kiếm</h3>
</div>
<div class="content-listproduct">
    <asp:DataList ID="listproduct" runat="server" RepeatColumns="3" Width="100%" 
        RepeatDirection="Horizontal" >
        <ItemTemplate>
            <div class="product">
                <div class="imgproduct">
                    <asp:Image  CssClass="img" ID="Image1" ImageUrl='<%#Eval("Image") %>'  Width="165px" Height="120px" runat="server" />
                </div>
                <asp:Label CssClass ="nameproduct" ID="Label1" Text ='<%#Eval("Name") %>' runat="server" />
                <asp:Label CssClass="priceproduct" ID="Label2" Text='<%#Format_Price(Eval("Price").ToString()) %>' runat="server" />
            </div>
        </ItemTemplate>
    
    </asp:DataList>

</div>
</div>
</asp:Content>
